Manager: Memory Management Utilities
While Carbon supports most of the Memory Management Utilities, there are changes to functions that assume a 68K runtime environment.
* Functions that flush caches on 68K processors (such as FlushInstructionCache, FlushDataCache, and FlushCodeCacheRange) are no longer supported.
* Functions such as SetA5 or SetCurrentA5 do nothing when running in Mac OS X. However, these functions should work normally when running in Mac OS 8.
* The functions GetMMUMode and SwapMMUMode are not supported because all PowerPC applications use 32-bit addressing, even if they are not Carbon–compliant.
* The SysEnvirons function is no longer supported since the Gestalt Manager can provide the same information. You should call the functions FindFolder and Gestalt instead.
CallDeferredTaskProc
DeferredTaskProcPtr
Delay
Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
Dequeue
Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
DisposeDeferredTaskUPP
Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
DTInstall
Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
Enqueue
Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
FlushCodeCache
68K-specific.
FlushCodeCacheRange
68K-specific. Not available in Carbon.
FlushDataCache
68K-specific.
FlushInstructionCache
68K-specific. Use MakeDataExecutable on PowerPC machines.
GetMMUMode
Not necessary on PowerPC, since all native PowerPC applications use 32-bit addressing.
GetSysPPtr
Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
InitUtil
Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
InvokeDeferredTaskUPP
Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
IsMetric
Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
MakeDataExecutable
Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
NewDeferredTaskProc
NewDeferredTaskUPP
Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
ReadLocation
Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
SetA5
68K-specific. Does nothing in PowerPC native code. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
SetCurrentA5
68K-specific. Does nothing in PowerPC native code. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
SwapDataCache
SwapInstructionCache
SwapMMUMode
Not necessary on PowerPC, since all native PowerPC applications use 32-bit addressing.
SysEnvirons
Uses working directories. Use FindFolder and Gestalt instead. Not available in Carbon.
WriteLocation
Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
WriteParam
Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
[Table of Contents] [Manager Index] [Function Index]
Generated on: 5/11/2000. Copyright © 1999, 2000 Apple Computer, Inc. All rights reserved.